package com.lanyun.service;

import com.lanyun.pojo.*;

import java.util.List;
import java.util.Map;

public interface StockService {
//    public List<Warehouse> showHouse();
//    public List<Product> showPro();
//    public Integer count();
    public List<Product> showProByHou(Integer hou);

    public List<Stock> showStock(Integer hous,Integer pro);
    public List<Map<String,Object>> showWarning();
    public List<Map<String,Object>> showStatAll(String begin,String end);
    public List<Map<String,Object>> showTrend(String begin,String end);

    //分组查询员工，商品，仓库，给库存变更记录界面下拉列表赋值
    List<Admin> groupAdmin();
    List<Product> groupPro();
    List<Warehouse> groupHous();

    List<Stockinfo> showStockInfo(Integer admin, String begin,
                                  String end, Integer Hous,
                                  Integer Pro, String type);

    //查询订单表中的年份
    List<String> getYear();

    /*入库*/
    Integer StockEnd(String wid, String pid, String amounts);

}
